﻿<%@ Page Language="C#" MasterPageFile="~/Hoso/MasterPage_Hoso.master" AutoEventWireup="true" CodeFile="HosoBacsidoipass.aspx.cs" Inherits="Hoso_HosoBacsisoipass" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div style="padding-left:10px;padding-top:10px; width: 264px;">
    <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#003300" 
        NavigateUrl="~/Hoso/QuanlyBaivietofbacsi.aspx">QUẢN LÝ BÀI VIẾT </asp:HyperLink>
        <br />
        <br />
        <asp:HyperLink ID="HyperLink3" runat="server" ForeColor="#003300" 
        NavigateUrl="~/Hoso/QuanlyTaikhoanofbacsi.aspx">QUẢN LÝ TÀI KHOẢN</asp:HyperLink>
        <br />
        <br />
        <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#003300" 
        NavigateUrl="~/Hoso/HosoBacsidoipass.aspx">ĐỔI PASS VÀ EMAIL</asp:HyperLink>
        <br />
        <br />
        </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
    <telerik:RadButton ID="Button1" runat="server" Text="PASSWORD" 
        onclick="Button1_Click1" Skin="Office2007" Width="100px" Height="25px">
    </telerik:RadButton>
    <telerik:RadButton ID="Button2" runat="server" Text="EMAIL" 
        onclick="Button2_Click" Skin="Office2007" Width="60px" Height="25px">
    </telerik:RadButton>


<br /><br />
<asp:MultiView ID="MultiView1" runat="server">
    <asp:View ID="View1" runat="server">
    <asp:Label ID="Label1" runat="server">Thay đổi Password</asp:Label>
   <p>Password hiện tại :</p>
       
        <telerik:RadTextBox ID="txtpass" TextMode="Password" runat="server" 
            ValidationGroup="doipass" Width="219px" Skin="Forest">
        </telerik:RadTextBox>
   
                                              
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="doipass"
            ControlToValidate="txtpass" ErrorMessage="nhập pass"></asp:RequiredFieldValidator>
                                              
        <asp:Label ID="Label5" runat="server" ForeColor="Red"></asp:Label>
                                              
    <p>Password muốn đổi :</p>
        <telerik:RadTextBox ID="txtpassdoi" TextMode="Password" runat="server" 
            ValidationGroup="doipass" Width="219px" Skin="Forest">
        </telerik:RadTextBox>
    
                                               
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="doipass" runat="server" 
            ControlToValidate="txtpassdoi" ErrorMessage="nhập pass"></asp:RequiredFieldValidator>
                                               
     <p>Nhắc lại Password :</p>
        <telerik:RadTextBox ID="txtpassdoire" TextMode="Password" runat="server" ValidationGroup="doipass" Width="219px" Skin="Forest">
        </telerik:RadTextBox>

                                               
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="doipass" runat="server" 
            ControlToValidate="txtpassdoire" ErrorMessage="nhập pass"></asp:RequiredFieldValidator>
        <asp:CompareValidator ID="CompareValidator3" ValidationGroup="doipass" runat="server" 
            ControlToCompare="txtpassdoi" ControlToValidate="txtpassdoire" ErrorMessage="nhập đúng pass"></asp:CompareValidator>
                                               
                                                    <br /><br />
        <telerik:RadButton ID="Button3" runat="server" Text="Sửa Password" Width = "120px"
             onclick="Button3_Click" ForeColor="#FF0066" Height="25px"
            Skin="Sunset">
        </telerik:RadButton>
        
                                                <asp:Label ID="Label4" runat="server" 
            ForeColor="Blue" ></asp:Label>
    <br /><br />
    </asp:View>
    

<asp:View ID="View2" runat="server">
 <asp:Label ID="Label2" runat="server">Thay đổi Email</asp:Label>
    <p>Email mới :</p>
    <telerik:RadTextBox ID="txtemail" runat="server" ValidationGroup="doiemail" Width="219px" Skin="Forest">
    </telerik:RadTextBox>
  
    
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ValidationGroup="doiemail"
        ControlToValidate="txtemail" ErrorMessage="nhập email"></asp:RequiredFieldValidator>
    
    
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="txtemail" ErrorMessage="nhập đúng dạng email" 
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    
    
    <p>Xác nhận Email :</p>
    <telerik:RadTextBox ID="txtemailre" runat="server" ValidationGroup="doiemail" Width="219px" Skin="Forest">
    </telerik:RadTextBox>
    
    
    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ValidationGroup="doiemail"
        ControlToValidate="txtemailre" ErrorMessage="nhập email"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator2" runat="server" ValidationGroup="doiemail"
        ControlToCompare="txtemail" ControlToValidate="txtemailre" ErrorMessage="nhập đúng email"></asp:CompareValidator>
   
    
    <br /><br />
    <telerik:RadButton ID="Button4" runat="server" Text="Sửa Email" Width = "100px"
            ForeColor="#FF0066" Skin="Sunset" Height="25px" onclick="Button4_Click">
    </telerik:RadButton>
    
    <asp:Label ID="Label3" runat="server" ></asp:Label>
</asp:View>
</asp:MultiView>

    </asp:Content>
